/*
CSS file for Discuz! X
(C) Twelve.
http://www.xcxgy.com
*/ 
:root {
    --base: {MENUBGCOLOR};
    --sp-bg: {SPECIALBG};
    --light-bg:{INPUTBG};
    --white-bg:{FLOATBGCOLOR};
    --body:{BGCOLOR}
}
 [data-theme="dark"]:root {
    --base: {MENUBGCOLOR};
    --sp-bg: {SPECIALBG};
    --light-bg:{INPUTBG};
    --white-bg:#16161a;
    --body:#0c0c0c;
}

[data-theme="dark"] body{
    background: var(--body);
}
a:hover ,.slst a{
    text-decoration: none !important;
}

dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
#scform_srchtxt,
p,
blockquote,
th,
td,
a,
label,
.bbs,
.pn,
.dt,
#scbar_txt,
.sttl {
    border: none !important;
}

/* 背景浅白色 */
pre,
fieldset,
#scform_srchtxt,
textarea,
blockquote,
.edt .area {
    background: var(--light-bg) !important;
}

/* 背景浅蓝色 */
#e_controls,
#divEditor {
    background: var(--sp-bg);
}

/* 背景白色 */
.ct2_a.wp,
.ct1.wp,
#scbar_txt,
.pg_portalcp #wp .wp {
    background-color: var(--white-bg) !important;
}

/* 虚线分割线 */
.bbda,
.el li,
.flw_article,
.pg_ranklist .bm_h {
    border-bottom: 1px dashed var(--light-bg) !important;
}

/* 帖子签名 */
.po,
.sign {
    border-top: 1px dashed var(--light-bg) !important;
}



.pg_portalcp .pbw,.ftid a {
    border: 1px solid var(--light-bg) !important;
}

/* 去除部分width设置 */

.my_flw_stats,
.attach_nopermission,.cttp .unfold, .cttp .fold {
    width: auto !important;
}

/* 右侧圆角 */
.tbn li.a {
    border-radius: 0 8px 8px 0;
}



#pt {
    margin: 8px 0;
}

/* 发帖按钮 */
.tb .a a,
.tb .current a {
    color: var(--white-bg);
    background: var(--base);
}
#postbox {
    padding: 0 12px !important;
}
/* 主导航 */


#nv li,
.cmt .tri {
    background-image: unset !important;
}

/* 我的页面导航 */
.tb li {
    margin: 3px 3px 0 0 !important;
}

/* 搜索 */
#scbar {
    height: 45px;
    line-height: 45px;

}
#hd .fastlg .pns { 
    margin-right: 8px;
}
/*版块列表回复查看宽度 */
.tl .num {
    width: 80px !important;

}

/* 版块列表快速发帖 */
.tedt .pt {
    background: var(--sp-bg);

}

.ttp .a a{
    color: var(--base)!important;
}
/* 右侧悬浮菜单 */
#scrolltop {
    background: transparent !important;
    border: none !important;
    z-index: 999;
}

#scrolltop a {
    background: var(--base);
    color: var(--white-bg);
    border-radius: 4px;
    margin-top: 8px;
    line-height: 30px !important;
    height: 30px !important;
    padding: 5px !important;
}

#scrolltop a:before {
    line-height: 30px !important;
}

/* 导读标题 */

.pg_guide .boardnav #ct .bm.bml {
    display: none;
}

/* 帖子图片宽度 */
.t_fsz img {
    max-width: 100%;
}

/* 帖子作者信息 */
.pi,
.clct_list .xld {
    height: unset !important;
}


#p_btn a {
    margin-bottom: 6px;
}

/* 群组样式优化 */
#g_guide {
    background-position: 4px 18px !important;
}

#g_guide a,
#g_guide label {
    padding: 7px 0 7px 28px !important;
}


#fwin_content_invite #username {
    width: 60px !important;
}

.tb .y a {
    margin-top: 3px;
}

.tb a {
    padding: 0 8px !important;
}

.tedt .pt#descriptionmessage {
    width: 100% !important;
}

/* 发帖页 */
#postform .ct2_a {
    padding-left: 0px !important;
}

#subjectchk,
#ele_getauthorall {
    display: block;
}

/* 家园页 */
.appl {
    width: 130px !important;
}

.tb .o,
.tb .o a {
    height: 30px !important;
    line-height: 30px !important;
    background: var(--base) !important;
}

.ct2_a .mn {
    margin-right: 0 !important;
}

.ct2_a .mn,
.pg_portalcp .cl .mn {
    padding: 12px !important;
}

.d-none {
    display: none;
}



 
    /* 版块图标 */
    .fl_g img ,
    .fl_icn img {
        width: 60px;
    }

 

/* 低于1440px屏幕下样式 */
@media (max-width: 1199.98px) {
    #fastsmiliesdiv,
    #qmenu,
    .pg_forumdisplay #pgt .pgb,
    #e_fls,
    #e_at,
    #e_adv_2,
    .icoFullTxt,
    .icoSwitchTxt,
    .fpd #sendsml,
    #gmy,
    #gupgrade,
    #guser,
    #gadmin,
    #ft #flk .xs0,
    .tbn h2,
    #dvToolbar .tbri,
    #feed_div .xlda .avt,
    .my_flw_stats,
    .flw_article .pbm.c,
    .flw_feed #followlist .z.flw_avt,
    
    #diy-tg,
     
   
    #postbox .pnpost .y,
    #f_pst .pnpost .y,
    #extra_rushreplyset_c .xg1,
    .pls,
    .push,
    #pgt .pg,
    #comment_ul .xg1.xw0,
    .pg_ranklist .ct2_a .appl .tbn,
    .pg_ranklist .ct2_a .mn .bm_h .y,
    #e_btn_www,
    .pg_viewthread #pt.bm {
        display: none !important;

    }

    /* 下一页 上一页 */
    .pg a.nxt,
    .pg a.prev {
        display: block !important;
    }

    .hasfsl {
        margin-right: 0 !important;
    }

    .tl th,
    .tl td.fn {
        width: 100%;
        padding-right: 0 !important;
    }

    #flk,
    #frt {
        float: none;
        text-align: center;
    }

    .fl_by div,
    .tahfx select {
        width: unset !important;
    }

    #adddynamicspan {
        margin: 6px 0;
        display: block;
    }

    #wp.wp {
        margin: 8px;
    }

    /* logo导航 */

    .hdc {
        padding: 0 0 0 8px;
    }

   .hdc a img {
        max-width: 160px;
    } 

    #hd h2 {
        padding: 0 !important;
    }

    #um {
        padding-right: 68px !important;
        padding-bottom: 8px !important;
    }

   

    /* 版块图标 */
    .fl_icn img {
        width: 31px;
    }

    #fastpostform #subject,
    #avatardesigner,
    #avatarfileselector,
    #avatarfile,
    #form_miscreport {
        width: 368px !important;
    }

    /* 上传头像 */
    #avatarfileselector {
        background-position-x: -61px !important;
    }

    /* 家园左侧栏背景色 */
    .ct2_a,
    .ct3_a {
        background-size: 100px !important;
    }


    /* 去除宽度限制 */
    .wp,
    body,
    #toptb {
        width: unset !important;
        min-width: unset !important;
    }

    #ct {
        min-height: unset !important;
    }

    /* 群组样式 */
    .ct2,
    .ct2 .sd {
        margin-right: 0 !important;
        float: none !important;
        width: 100%;
    }

    #g_commend .bm_c {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: flex-start;
        align-items: flex-start;
    }

    #g_commend .xld {
        float: none !important;
        height: auto !important;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    /* 登录弹窗 */
    .nfl .f_c,
    #postbox #subject,
    .fwin .rfm,
    .nfl .f_c .rfm,
    .fwinmask textarea {
        width: 360px !important;
    }

    .dopt input {
        width: 360px;
    }

    .rfm th,
    .rfm td {
        line-height: 32px !important;
    }

    #fwin_login .p_fre,
    #main_message .p_fre,
    .fwinmask .p_fre,
    .d-w140 {
        width: 200px !important;
    }

    /* 发帖页面标题input */



    #extra_additional_c label,
    .slst {
        width: unset !important;
    }

    #extra_rushreplyset_c input,
    #extra_tag_c input,
    .rfm th {
        width: 120px !important;
    }

    /* 帖子详情页 */
    .plhin {
        border-bottom: 8px solid var(--body);
    }

    #threadstamp img {
        top: -60px !important;
        right: 0 !important;
        left: -10px;
        width: 80px;
    }

    .avt img {
        width: 36px !important;
        height: 36px !important;

    }

    

    .pg_group #newspecial,
    .pg_forumdisplay #newspecial,
    .pg_viewthread #newspecial {
        position: fixed;
        left: 50%;
        bottom: 20px;
        transform: translateX(-50%);
        z-index: 999;
    }

    #pollm_c_1 input,
    #scform_srchtxt,
    .sinf textarea {
        width: 300px !important;
    }

    /* 导读 */
    .boardnav .bm .xl2,
    .sttl,.exfm {
        background: unset !important;
    }

    .boardnav .bm .xl2 li {
        width: 100% !important;
    }

    .boardnav .bm .xl2 .xl2_r i {
        padding: 0 !important;
    }

    /* 个人主页 */
    .tl .frm {
        width: 70px !important;
    }

    .sfm .px,
    #fastpostform,
    .sinf {
        width: auto !important;
    }

    .pg_space #mood_statusinput textarea {
        width: 310px !important;
        height: 36px !important;
    }

    .moodfm_btn button {
        padding: 8px 11px !important;
    }

    .flw_article {
        margin: 0 0 10px 0 !important;
    }

    #feed_div .xlda dl {
        padding-left: 0 !important;
    }

    #profilelist.tfm .px {
        width: 240px !important;
    }

    /* 群组 */
    #nv_group .tfm .c,
    .tfm .tedt,
    .m_c .tfm .tedt,
    #nv_group input#name,
    .tfm .pt,
    .tfm .px,
    #scbar_txt {
        width: 280px;
    }

    .pmform .px,
    .buddy li,
    .pmform .tedt,
    .pmform .area #sendmessage {
        width: 300px !important;
    }

    .pmform .tedt {
        padding: 2px 4px;
    }

    /*  记录*/
    .ct2_p,
    .pg_ranklist .bm_c .xl2 {
        background-image: unset !important;
        padding-left: 8px !important;
    }

    /* 排行榜 */


    .ct2_a {
        display: flex;
        flex-wrap: nowrap;
        padding-left: 0 !important;
        background: none;
        flex-direction: column;
    }

    /* 设置页面 */
    .pg_spacecp .ct2_a,
    .pg_modcp .ct2_a {

        flex-direction: column-reverse;
    }


    .tdats .tdat {
        width: 240px !important;
    }

    .tdats .tfxf {
        width: 210px !important;
    }

    .ct2_a.cl:after {
        content: none;
    }

    .ct2_a .appl {
        display: inline-block;
        box-sizing: border-box;

    }

    .appl .tbn .bbda {
        text-align: center;
    }


    .ct2_a .appl .tbn li.a {
        font-weight: bold;
    }



    .ct2_a .appl {
        margin: 0 !important;
    }

    .appl,
    .ct2 .mn {
        float: none !important;
        width: unset !important;
    }

    .ct2_a .mn,
    .pcht,
    .pm_o {
        width: auto !important;
        margin: 0 !important;
    }


    .ct2_a .mn .biduser,
    .clct_list .xld {
        width: 100% !important;
        margin: 0 !important;
    }

    /* 我的帖子 */
    .tbmu,
    .nts {
        padding: 0 !important;

    }

    /* 搜索 */
    #scform_submit {
        width: 60px !important;
        height: 29px !important;
    }

    /*家园页面菜单横排 */
    .tbn ul,
    .ct2_a .mn ul.tb,
    #nv ul {
        display: inline;
        box-sizing: border-box;
        float: left;
        height: 33px;
        -webkit-overflow-scrolling: touch;
        overflow-y: hidden;
        white-space: nowrap;
        width: 100%;
        overflow-x: scroll;
    }

    .tbn li.a {
        background: transparent;
    }

    .tbn ul {
        background: var(--sp-bg);
    }

    .tbn ul a,
    .ct2_a .appl .tbn li,
    .ct2_a .tb li,
    #nv li,
    .ct2_a .mn ul.tb {
        display: inline-block;
        float: none !important;
    }



    ul::-webkit-scrollbar {
        display: none;
    }

    .h_pop {
        min-width: 120px !important;
    }

    #filter_dateline_menu {
        min-width: 390px !important;
    }

    /* 消息 */
    #showSelectBox_menu,
    #e_editortoolbar .p_pof,
    #fwin_nav,
    .fwinmask,
    #descriptionurl_menu,
    #descriptionimg_menu,
    #filter_dateline_menu,
    #fastposturl_menu,
    #fastpostquote_menu,
    #fastpostsml_menu,
    #fastpostat_menu,
    #fastpostcode_menu,
    #posturl_menu,
    #postcode_menu,
    #postquote_menu,
    #postsml_menu,
    #postat_menu,.rfm .p_tip {
        left: 50% !important;
        -webkit-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
    }

    /*帖子详情页 回复 点评 分享等 */
    .m_c .tedt,
    #subjecthide,
    .m_c .quote,
    #fwin_dialog .pcb,
    .m_c .el,
    #fwin_content_mods #tags,
    .pg_group .usl {
        width: 368px !important;
    }

    .dopt p .px,
    .hasd .px {
        width: 160px !important;
    }

    div {
        border-color: var(--light-bg) !important;
    }

     

   

    /* 悬赏贴 */
    .rwdn {
        margin-left: 0 !important;
    }

    .rsld,
    .rusld {
        width: 100% !important;
        height: 24px !important;
    }

    .plhin .plc img.zoom,
    .plc .rwdn img {
        width: 100%;
    }

    .ct2_a .sadd dl dd {
        width: 260px !important;
    }

    .spvimg {
        float: none !important;
    }

    .spi {
        margin-left: 0 !important;
    }

    #e_image_menu,
    #e_attach_menu,
    #fwin_content_nav .pbl,
    #tradeform .f_c .list {
        width: 390px !important;
    }

   
   /* 图片列表 */
.waterfall{
    width: unset!important;
    position: unset!important;
    column-count: 3; 
    -moz-column-count: 3;
    -webkit-column-count: 3; 
    column-gap: 10px;
    -moz-column-gap: 10px;
    -webkit-column-gap: 10px;
}
.waterfall li{
    width: unset!important;
    position: unset!important;
    margin: 0 0 10px 0!important;
    float: unset!important; 
   
    break-inside: avoid;
    -webkit-break-inside: avoid;
    -moz-break-inside: avoid;
}
.waterfall li a img{
    width: 100%!important; 
}
.waterfall .c .nopic{
    display: none!important;
}
 /* 版块列表 */
 .fl_tb .xg2,   .fl_i .xg1,.fl_i .xi2 {
    font-size: 10px;
     }
    .fl_i {
        width: 60px!important; 
        
    }
    /* 平板端结束 */
}

/*  移动端样式 */
@media (max-width:575.98px) {
    .d-sm-none, 
    #toptb,
    cite,
    #online .xs1,
    .fl_by,
    dd .xi2, 
    .chart,
    .category_l2,
    .category_l3,
    .category_l4,
    #nv_forum #pt,
    #chart .y,
    .boardnav #ct .bm_h .xs1.xw0,
    .tl .th tr .by,
    .tl .th tr .num,
    .tl table tr .by,
    .tl table tr .num,
    #atarget,
    #pgt #fd_page_top,

    #newspecialtmp,
   
    .bm_h#autopbn,
    .scbar_hot_td,
    #e_autotypeset,
    #e_justifyleft,
    #e_justifycenter,
    #e_justifyright,
    #showUser_2,
    #e_controls .y,
    #e_controls #e_adv_3,
    #e_controls #e_adv_1,
    #e_controls #e_adv_4,
    #e_controls #e_adv_2,
    #e_controls #e_adv_s3,
    #e_backcolor,
    #e_fontname,
    #e_fontsize,
    .side_btn a.btn_s_close,
    #e_bbar, .pg a,
    .pg strong{
        display: none !important;

    }

    
    .d-sm-block {
        display: block !important;
    }

    .hdc a img {
        max-width: 100px;
    } 

    /* 版块图标 */
    .fl_icn img {
        width: 31px;
    }

    #fastpostform #subject,
    #avatardesigner,
    #avatarfileselector,
    #avatarfile,
    #form_miscreport {
        width: 308px !important;
    }

   

  
    /* 登录弹窗 */
    .nfl .f_c,
    #postbox #subject,
    .fwin .rfm,
    .nfl .f_c .rfm,
    .fwinmask textarea {
        width: 300px !important;
    }

    .dopt input {
        width: 300px;
    }

 

    #fwin_login .p_fre,
    #main_message .p_fre,
    .fwinmask .p_fre,
    .d-w140 {
        width: 140px !important;
    }

    /* 发帖页面标题input */



 

    #extra_rushreplyset_c input,
    #extra_tag_c input,
    .rfm th {
        width: 60px !important;
    }

    /* 帖子详情页 */
     

    #pollm_c_1 input,
    #scform_srchtxt,
    .sinf textarea {
        width: 240px !important;
    }

 

    /* 个人主页 */
    .tl .frm {
        width: 70px !important;
    }

    

    .pg_space #mood_statusinput textarea {
        width: 250px !important;
        height: 36px !important;
    }

     

    #profilelist.tfm .px {
        width: 180px !important;
    }

    /* 群组 */
    #nv_group .tfm .c,
    .tfm .tedt,
    .m_c .tfm .tedt,
    #nv_group input#name,
    .tfm .pt,
    .tfm .px,
    #scbar_txt {
        width: 220px;
    }

    .pmform .px,
    .buddy li,
    .pmform .tedt {
        width: 250px !important;
    }

    .pmform .area #sendmessage {
        width: 240px !important;
    }

 
  


    .tdats .tdat {
        width: 180px !important;
    }

    .tdats .tfxf {
        width: 150px !important;
    }
 
    
    #ls_fastloginfield_ctrl {
       
        font-size: inherit!important;
    }
    
 
    .h_pop {
        min-width: 60px !important;
    }

    #filter_dateline_menu {
        min-width: 330px !important;
    }
 
    #lsform .fastlg input {
        width: 68px;
        margin-left: -8px;
    }
    /*帖子详情页 回复 点评 分享等 */
    .m_c .tedt,
    #subjecthide,
    .m_c .quote,
    #fwin_dialog .pcb,
    .m_c .el,
    #fwin_content_mods #tags,
    .pg_group .usl {
        width: 308px !important;
    }

    .dopt p .px,
    .hasd .px {
        width: 100px !important;
    }
    .plhin .plc,
    #postbox {
        padding: 0 12px !important;
    }
   
 

    .ct2_a .sadd dl dd {
        width: 200px !important;
    }
 
    #e_image_menu,
    #e_attach_menu,
    #fwin_content_nav .pbl,
    #tradeform .f_c .list {
        width: 330px !important;
    }

/* 图片列表 */
.waterfall{ 
    column-count: 2; 
   -moz-column-count: 2;
   -webkit-column-count: 2;
}

/* 注册页面 */
.rfm .p_tips {  
    width: 260px;
    word-wrap: break-word;
    word-break: normal;
    color: #4E5969;
    /* font-style: normal; */
    font-size: 10px;
    line-height: 14px;
}
.rfm .p_chks {
    
     
     word-wrap: break-word;  word-break: normal;
    color: red;  
}

/* 帖子详情页用户名头衔等 */
.profile_node{
    display: flex!important;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    flex-direction: row;
}

.profile_node a,.profile_node p,.profile_node dl,.authself{
    margin-right: 4px;
}

  .authself{
    background: #ff9c00;
    color: #fff; 
    padding: 0 6px;
    border-radius: 12px;
  }
 .authortitle ,.authself,.fic4 {
    font-size: 12px!important;
}
.profile_node  .tip_4,.profile_node .pbg2,.profile_node .pil {
    display: none!important;
}
.profile_node .authn{
    color: var(--base)!important ;
    font-weight: 600;
}
.pl .quote, .pl .blockcode   {
    background: none!important;
    margin: 0!important;
    padding: 0!important;
}
.quote blockquote{ 
    padding: 6px!important;
}
/* 帖子详情页 回复内容高度 */
.t_fsz {
    min-height: 20px!important;
}
    /* 移动端结束 */
}